home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / General / Controls GH / Flag Control GH / FlagCDEF.h < prev   
Text File  |  1993-10-21  |  743b  |  24 lines

  1. /************ FlagCDEF.h ***********
  2. ****** prototypes and typedefs for the flag.c ****/
  3. #pragma once
  4. typedef struct Private
  5. {
  6.     Boolean        useColorQD;
  7.     Boolean        devicesAvailable;
  8.     short        oldValue;
  9.     RGBColor    frameColor;
  10.     RGBColor    fillColor;
  11. }Private, *PrivatePtr, **PrivateHandle;
  12.  
  13. long CalcRegion(ControlHandle me, RgnHandle theRegion);
  14. long CalcStripRegion(ControlHandle me, RgnHandle theRegion);
  15. void CalcVertices(Point *vertices, Rect *ctlRect, short value);
  16. void DrawLines(Point *vertices);
  17. void DrawMe(ControlHandle me, short parm);
  18. void DrawVertices(ControlHandle me, Point *vertices);
  19. void InitMe(ControlHandle me);
  20. Boolean TestForColor(void);
  21. long TestMe(ControlHandle me, short v, short h);
  22. long TrackMe(ControlHandle me, short part);
  23.  
  24.